datSeg SEGMENT
		string DB 'hello world!',0DH, 0AH, '$'
		;0DH: return, 0AH: line feed
datSeg ENDS

;这是一个helloworld程序
codeSeg SEGMENT
		ASSUME CS:codeSeg, DS:datSeg
START:
		MOV AX, datSeg
		MOV DS, AX

		MOV DL,0AH
        ADD DL,37H
        MOV AH,02H
        INT 21H
		MOV AH,4CH			;go back to DOS
		INT 21H
codeSeg ENDS

END START
